﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WFL.Wrapper.Highcharts
{
    public class CreditsObject : JsonObject
    {
        public bool Enabled
        {
            get { return GetValue<bool>("enabled"); }
            set { this["enabled"] = value; }
        }

        public string Href
        {
            get { return (string)this["href"]; }
            set { this["href"] = value; }
        }

        public PositionObject Position
        {
            get { return (PositionObject)this["position"]; }
            set { this["position"] = value; }
        }

        /// <summary>
        /// CSS样式
        /// </summary>
        public LiteralString Style
        {
            get { return (LiteralString)this["style"]; }
            set { this["style"] = value; }
        }

        public string Text
        {
            get { return (string)this["text"]; }
            set { this["text"] = value; }
        }
    }
}
